Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NContinuousMediaExporter<TContent> Class / OnSaveFileDialogClosed Method
Dialog result.
Bounding box of the area to be exported.
Resolution of the image.
Called if the image has been successfully saved to the given file. Can be null.
Called if an error occurs. Can be null.


In This Topic
    OnSaveFileDialogClosed Method
    In This Topic
    Called when the save file dialog created by the "SaveAsImage" method has been closed.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnSaveFileDialogClosed( _
       ByVal result As NSaveFileDialogResult, _
       ByVal bounds As NRectangle, _
       ByVal dpi As System.Double, _
       ByVal successCallback As Function, _
       ByVal failCallback As Nevron.Nov.Function(Of Exception) _
    ) 
    'Usage
     
    
    Dim instance As NContinuousMediaExporter(Of TContent)
    Dim result As NSaveFileDialogResult
    Dim bounds As NRectangle
    Dim dpi As System.Double
    Dim successCallback As Function
    Dim failCallback As Nevron.Nov.Function(Of Exception)
     
    instance.OnSaveFileDialogClosed(result, bounds, dpi, successCallback, failCallback)
    protected virtual void OnSaveFileDialogClosed( 
       NSaveFileDialogResult result,
       NRectangle bounds,
       System.double dpi,
       Function successCallback,
       Nevron.Nov.Function<Exception> failCallback
    )

    Parameters

    result
    Dialog result.
    bounds
    Bounding box of the area to be exported.
    dpi
    Resolution of the image.
    successCallback
    Called if the image has been successfully saved to the given file. Can be null.
    failCallback
    Called if an error occurs. Can be null.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also